/**
* 操作权限处理
*/
import store from '@/store'
export default {
    inserted(el, binding, vnode) {
        const {orgId} = store.getters && store.getters.userInfo

        const hasPermissions = orgId==-1
        if (!hasPermissions) {
            el.parentNode && el.parentNode.removeChild(el)
        }
    }
}
